home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / src / tsockvi4.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  674 b   |  25 lines

  1. //    Copyright (c) 1994, University of Kansas, All Rights Reserved
  2. //
  3. //    Class:        TSockView
  4. //    Include File:    tsockvie.h
  5. //    Purpose:    Display total amount of current network activity
  6. //    Remarks/Portability/Dependencies/Restrictions:
  7. //    Revision History:
  8. //        01-31-94    created
  9. //        02-10-94    Split all members into seperate files.
  10. #include"tsockvie.h"
  11.  
  12. void TSockView::update()    {
  13. //    Purpose:    Update the view if socket usage has changed.
  14. //    Arguments:    void
  15. //    Return Value:    void
  16. //    Remarks/Portability/Dependencies/Restrictions:
  17. //    Revision History:
  18. //        01-31-94    created
  19.  
  20.     if((uli_pres = GetSockSize()) != uli_past)    {
  21.         uli_past = uli_pres;
  22.         drawView();
  23.     }
  24. }
  25.